Mobile traffic of my second site redirected to my base site [Edited,have a look]

Posted by Faheem Rasheed on Pro Webmasters See other posts from Pro Webmasters or by Faheem Rasheed
Published on 2013-09-17T16:09:15Z Indexed on 2013/10/20 10:18 UTC
Read the original article Hit count: 231

Filed under:
|

I have a strange issue with my website and it seems i am unable to understand what cauese the problem.I would highly appreciate your help.The Scenario is

I have two websites.

  1. Website A
  2. Website B

Website A is simply hosted within the root directory of my hosting account.Within this root *directory* i have a sub folder " subfolder A " and within which is another subfolder " subfolder B " that contains my site Website B

so the path looks like

root/sublfolder_A/subfolder_B/

that contains my **Website B ( i.e subfolder_B) **

All goes fine.When i access the website B from my desktop/Laptop Website B is loaded normally.

but when i access the Website through a mobile device , mobile site of Website A is loaded while as it should load website_B

Also , to let you know , both websites have different URL's and not subdomain's or anything.

What could be the problem ? htaccess of website B or website A ? or something else ?

Here is the htaccess of my website B

RewriteEngine On 
RewriteRule .* index.php [F] 
RewriteBase / 
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] 
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC] 
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule .* index.php [L] 

© Pro Webmasters or respective owner

Related posts about htaccess

Related posts about redirects